package ming.model.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "tmblacklist")
public class BlackList implements java.io.Serializable {


    private String ip;
    private String time;
    private String msg;
    private String bantime;	
    private String bancount;

    @Column(name = "TIME", length = 20)
    public String getTime() {
        return time;
    }

    @Column(name = "MSG", length = 100)
    public String getMsg() {
        return msg;
    }

    @Column(name = "BANTIME", length = 20)
    public String getBantime() {
        return bantime;
    }

    @Column(name = "BANCOUNT", length = 20)
    public String getBancount() {
        return bancount;
    }

    @Id
    @Column(name = "IP", length = 20, unique = true)
    public String getIp() {

        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setBantime(String bantime) {
        this.bantime = bantime;
    }

    public void setBancount(String bancount) {
        this.bancount = bancount;
    }
}
